package com.itheima.stock.response;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class PageResult<T> {

    private long totalRows;
    private long totalPages;
    private int  pageNum;
    private int pageSize;
    private int size;
    private List<T> rows;

}
